﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entity
{
    public class Product
    {
        #region Fields
        private int productId;
        private string name;
        private Unit _unit;
        private decimal price;
        private ProductType _productType;
        private bool visible;
        #endregion

        #region Properties
        public int ProductId
        {
            get { return productId; }
            set { productId = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public Unit Unit
        {
            get { return _unit; }
            set { _unit = value; }
        }

        public decimal Price
        {
            get { return price; }
            set { price = value; }
        }

        public  ProductType ProductType
        {
            get { return _productType; }
            set { _productType = value; }
        }
        
        public bool Visible
        {
            get { return visible; }
            set { visible = value; }
        }
        #endregion

    }
}
